<?php

namespace App\Http\Controllers;

use App\Http\Resources\ConfigResource;
use App\Models\Config;
use Illuminate\Http\Request;

class ConfigController extends Controller
{

    public function __invoke()
    {
        return ConfigResource::collection(Config::all());
    }
}
